FROM iamnewsea/jre:1.8
MAINTAINER yuxinhai <yuxinhai@163.com>
LABEL description="mycat:1.6.7.5 base jre:1.8"

WORKDIR /opt
ADD mycat /opt/mycat/

ENV MYCAT_HOME /opt/mycat
ENV PATH $PATH:$MYCAT_HOME/bin:


VOLUME /opt/mycat/conf
EXPOSE 8066

CMD mycat start && tail -f /dev/null
